package cn.stronglink.assetmanage.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

/**
 * 我的任务表
 * Created by chencongcong on 2018/6/18.
 */
@Entity
public class Task {
    @Id
    private long taskId;
    @Property
    private long id;
    @Property
    private String id_;
    @Property
    private int status;//维修单1.未完成 2.处理中  巡检单1未开始 2执行中  盘点单1未完成  入库单3待入库
    @Property
    private int businessType;//1,2,3,4分别代表入库验收，盘点，巡检，维修
    @Transient
    private String statusName;

    private String createTime;

    private String createUser;

    private String executeTime;

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public int getBusinessType() {
        return this.businessType;
    }
    public void setBusinessType(int businessType) {
        this.businessType = businessType;
    }
    public int getStatus() {
        return this.status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public String getId_() {
        return this.id_;
    }
    public void setId_(String id_) {
        this.id_ = id_;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public long getTaskId() {
        return this.taskId;
    }
    public void setTaskId(long taskId) {
        this.taskId = taskId;
    }

    public String getExecuteTime() {
        return this.executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
    }

    public String getCreateUser() {
        return this.createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    @Generated(hash = 571580557)
    public Task(long taskId, long id, String id_, int status, int businessType,
            String createTime, String createUser, String executeTime) {
        this.taskId = taskId;
        this.id = id;
        this.id_ = id_;
        this.status = status;
        this.businessType = businessType;
        this.createTime = createTime;
        this.createUser = createUser;
        this.executeTime = executeTime;
    }

    @Generated(hash = 733837707)
    public Task() {
    }
}
